package wqh.service;

import wqh.domain.Monitor;

import java.util.List;

/**
 * Created by devts on 2016/9/26.
 */
public interface MonitorService {

    List<Monitor> findAllRecord();

    int insertRecord(Monitor monitor);

    int updateRecord(Monitor monitor);

    int deleteRecord(Integer id);

    int updateDescriptionById(String description, Integer id);

    int updateNameById(String name, Integer id);

    int updatePosById(String pos_x, String pos_y, Integer id);

    Monitor findAllById(Integer id);

    List<Monitor> findAllByGeoLevel3(Integer id);

    List<Monitor> findAllByCode(String description);

    List<Monitor> findAllByDeviceAndCode(Integer device_id, String code);


}
